
#define TIMER_UI ((uiNamespace getVariable "destiny_state_ui") displayCtrl 52004) 
//开始计时
DESTINY_TIMER_STOP = false;
	_minutes = 39;
	for "_i" from 59 to 0 step -1 do {
		if (DESTINY_TIMER_STOP || !alive player) exitWith {call Destiny_fnc_timerStop};
		if (_minutes < 10) then {
			TIMER_UI ctrlSetText format["0%1:%2",_minutes,_i];
		}else{
			TIMER_UI ctrlSetText format["%1:%2",_minutes,_i];
		};
		if (_i <= 0 && _minutes !=0) then {
			_i = 59;
			_minutes = _minutes - 1;
		};
		//玩家死亡
		if (_minutes == 0 && _i <= 0) exitWith {
			call Destiny_fnc_timerStop;
			player setDamage 1;
		};
		sleep 1;
	};